import httpaxios from '@/utils/http.js'
//获取banner列表数据
export function getbannerinfo(cat_id='0'){
    return httpaxios({
        url:'/home/banner',
        params: {
            distributionSite:cat_id
          }
    })
}
//获取新鲜好物
export function getnewinfo(){
    return httpaxios({
        url:'/home/new',
    })
}
//获取热门推荐
export function gethotinfo(){
    return httpaxios({
        url:'/home/hot'
    })
}
//获取商品列表
export function getproduc(){
    return httpaxios({
        url:'/home/goods'
    })
}